<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<hr>
		方法回显结果：<br>
		<lable>${fangfahuixian }</lable>
		
	<hr>
	<label>参数绑定：嵌套pojo类型查询</label>
	<br>
	<form method="get"
		action="${pageContext.request.contextPath }/user/selectuserInfo">
		<table>
			<tr>
				<td><input type="text" name="userInfoCustom.phone" value="" /></td>
				<td><input type="submit" value="select" /></td>
			</tr>
		</table>
	</form>
	<hr>

	<hr>
	<label>参数绑定：数组类型查询</label><br>
	<form method="get"
		action="${pageContext.request.contextPath }/user/selectuserInfo">
		<table>
			<tr>
				<td><input type="text" name="userInfoArray" value="" /></td>
				<td><input type="text" name="userInfoArray" value="" /></td>
				<td><input type="submit" value="select" /></td>
			</tr>
		</table>
	</form>
	<hr>
	
	<hr>
	<label>参数绑定：List类型查询:只到了controller层没有往后写，查看使用debug</label><br>
	<form method="get"
		action="${pageContext.request.contextPath }/user/selectuserInfo">
		<table>
			<tr>
				<td><input type="text" name="userInfoList[0].phone" /></td>
				<td><input type="text" name="userInfoList[0].idcard" /></td>
				<td><input type="submit" value="select" /></td>
			</tr>
		</table>
	</form>
	<hr>
	
	<hr>
	<label>参数绑定：HashMap类型查询:只到了controller层没有往后写，查看使用debug</label><br>
	<form method="get"
		action="${pageContext.request.contextPath }/user/selectuserInfo">
		<table>
			<tr>
				<td><input type="text" name="userInfoMap[phone]" /></td>
				<td><input type="text" name="userInfoMap[idcard]" /></td>
				<td><input type="submit" value="select" /></td>
			</tr>
		</table>
	</form>
	<hr>

	<table>
		<c:forEach items="${listUserInfoCustom }" var="userinfo">
			<tr>
				<td>${userinfo.id }</td>
				<td>${userinfo.phone }</td>
				<td>${userinfo.idcard }</td>
				<td><a
					href="${pageContext.request.contextPath }/user/editUserInfo?id=${userinfo.id }">xiugai</a></td>
			</tr>
		</c:forEach>
	</table>

</body>
</html>